#pragma once

#include <ECS/ECS.h>
#include "Inventory.h"

struct InventoryComponentDef
{
	mtMETA_DEC;
};

class InventoryComponent : public ECS::Component
{
	mtMETA_DEC;
public:
	bool initWith(InventoryComponentDef* def);

	const Inventory& getInventory() const;
	Inventory* getInventoryPtr();
protected:
	Inventory _inventory;
};